﻿#pragma once
//结构体字节对齐
#ifdef __GNUC__
#define PACKED_STRUCT struct __attribute__((__packed__))
#define END_PACKED_STRUCT
#elif defined(_MSC_VER)
#define PACKED_STRUCT __pragma(pack(push, 1)) struct
#define END_PACKED_STRUCT __pragma(pack(pop))
#endif